package com.example.mytayunapi.Service;

import com.example.mytayunapi.Entity.ProductImagesInfo;
import com.example.mytayunapi.Mapper.ProductImagesInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductImageInfoServiceImpl implements ProductImagesInfoService{

    @Autowired
    private ProductImagesInfoMapper productImagesInfoMapper;


    @Override
    public List<ProductImagesInfo> getProductImagesById(Integer productId) {
        return productImagesInfoMapper.getProductImagesById(productId);
    }
}
